package game.leon.engine.net.example.server;

import game.leon.engine.net.GateSession;
import game.leon.engine.net.codec.GateRawMessage;

/**
 * User: bianpeng
 * Date: 11-12-27
 */
class Message {
    private GateSession session;
    private GateRawMessage rawMessage;
    public Message(GateSession session, GateRawMessage rawMessage) {
        this.session = session;
        this.rawMessage = rawMessage;
    }
    public GateRawMessage getRawMessage() {
        return rawMessage;
    }
    public GateSession getSession() {
        return session;
    }
}
